home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
e
/
misc.txt
/
000111_fdc@panix.com_Tue Aug 7 13:34:25 2007.msg
< prev
next >
Wrap
Internet Message Format
|
2018-01-01
|
2KB
Path: reader2.panix.com!panix!not-for-mail
From: Frank da Cruz <fdc@panix.com>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: SIZE error when getting file.
Date: Tue, 7 Aug 2007 17:34:04 +0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Lines: 44
Message-ID: <slrnfbhb8c.91j.fdc@panix3.panix.com>
References: <1186152316.448880.120380@g12g2000prg.googlegroups.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: panix3.panix.com
X-Trace: reader2.panix.com 1186508044 9203 166.84.1.3 (7 Aug 2007 17:34:04 GMT)
X-Complaints-To: abuse@panix.com
NNTP-Posting-Date: Tue, 7 Aug 2007 17:34:04 +0000 (UTC)
User-Agent: slrn/0.9.8.0 (NetBSD)
Xref: panix comp.protocols.kermit.misc:15682
On 2007-08-03, mtice <mjtice@gmail.com> wrote:
: I'm trying to ftp into an i/5 to retrieve a file. I'm getting an
: error however. These are the commands:
:
: # kermit
: C-Kermit>ftp 10.5.0.13
: Connected to 10.5.0.13.
: Name (10.5.0.13:root): cmc
: Password:
: C-Kermit>cd /qsys.lib/eom063007.lib
: C-Kermit>bin
: C-Kermit>get DATAAZ.file
: Subcommand SIZE not valid.
: C-Kermit>quit
:
: However, if I use the shell's (bash, suse linux 10.0) built-in ftp
: client I'm able to retrieve the file just fine. If anyone could shed
: some light on this problem I'd appreciate it greatly.
:
When you give a GET command, Kermit sends a SIZE command to get the file's
size so (for example) it can give a progress indication during the transfer.
C-Kermit>set ftp debug on
C-Kermit>get msk315.txt
---> SIZE msk315.txt
213 16220
GET msk315.txt (text) (16220 bytes)---> PASV
227 Entering Passive Mode (128,59,29,214,130,34)
---> RETR msk315.txt
150 Opening ASCII mode data connection for msk315.txt (15814 bytes).
226 Transfer complete.
C-Kermit>
If the server does not understand the SIZE command, Kermit is supposed to say
(to itself), "OK, fine, I don't know the size but I will still ask for the
file", and then it sends a RETR command. I don't see anyplace in the code
where Kermit would fail to send the RETR command upon getting an error in
response to the SIZE command. I would be interested to find out how this
happened. In the meantime, however, you can always work around the
problem by giving the following command before you do a GET or MGET:
ftp disable size
- Frank